package com.fymxy.question_bank_management.service.serviceImpl;

import com.fymxy.question_bank_management.mapper.Paper2courseMapper;
import com.fymxy.question_bank_management.service.Paper2courseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class Paper2courseServiceImpl implements Paper2courseService {

    @Autowired
    private Paper2courseMapper paper2courseMapper;

    @Override
    public int deleteByCourseKey(Integer courseNo) {
        return paper2courseMapper.deleteByCourseKey(courseNo);
    }
}
